Arbitrary-direction tracer control unit

ABSTRACT

The present invention is directed to an arbitrary-direction tracer control unit which permits arbitrary setting of the tracer feed direction, and is intended to allow ease in changing the tracer feed direction even during tracing. 
     A memory (M) has stored therein data indicating the tracer feed direction, that is, the angle between the tracer feed axis and the X-axis. A correction angle setting device (COM) sets a correction angle with respect to the tracer feed axis. An adder (ADD) adds together the angle stored in the memory (M) and the correction angle set on the correction angle setting device (COM), and provides the added output to a tracing operation device (PRO). The tracing operation device (PRO) operates, on the basis of the results of addition by the adder (ADD) and a displacement signal from a tracer head (TH), a velocity in each axis direction at which a model and the tracer head (TH) are moved relative to each other in a direction corresponding to the results of addition by the adder (ADD).

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an improvement in an arbitrary-direction tracer control unit which permits arbitrary setting of the tracer feed direction, and, more particularly, to an arbitrary-direction tracer control unit which allows an easy change of the tracer feed direction even during tracing.

2. Description of the Related Art

In arbitrary-direction tracing in which the tracer feed direction in an X-Y plane is a direction at an angle α (an A-axis) with respect to the X-axis as depicted in FIG. 5, tracer feed rates Va and Vz in the A-axis and the Z-axis are derived from a displacement signal available from a tracer head, operations Vx=Va·cos α and Vy=Va·sin α are conducted using the feed rate Va to obtain tracer feed rates Vx and Vz, and a model is driven in the X-, Y- and Z-axes at the speeds corresponding to the tracer feed rates Vx, Vy, and Vz.

Conventional arbitrary-direction tracer control equipment is of the type that prestores the angle α between the X-axis and the A-axis in a memory and performs the above-mentioned operations on the basis of the stored contents of the memory to obtain the feed rates in the X- and Y-axis directions; so the tracer feed direction cannot be changed unless the stored contents of the memory are changed. Accordingly, with the prior art equipment, it is difficult for an operator to change the tracer feed direction while monitoring the cutting conditions.

SUMMARY OF THE INVENTION

The present invention obviates such a defect as mentioned above, and has for an object to permit an easy change of the tracer feed direction even during tracing.

FIG. 1 is a block diagram illustrating the arrangement of the present invention. A memory means M has stored therein an angle indicating the direction of the tracer feed axis, that is, an angle between the X-axis and the tracer feed axis. A correction angle setting means COM is used to set a correction angle with respect to the tracer feed axis direction. An adder means ADD adds together the angle stored in the memory means M and the correction angle set by the correction angle setting means COM and then provides the added output to a tracing operation means PRO. Based on the results of the addition by the adder means ADD and a displacement signal corresponding to the displacement of a stylus ST provided from a tracer head TH, the tracing operation means PRO produces the feed rate in each axis direction at which the model and the tracer head are moved relative to each other in the direction corresponding to the results of the addition by the adder means ADD.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating the arrangement of the present invention;

FIG. 2 is a block diagram illustrating an embodiment of the present invention;

FIG. 3 is a flowchart showing the contents of processing by a microprocessor 17;

FIG. 4 is a diagram schematically showing a cutting path according to the present invention; and

FIG. 5 is a diagram for explaining arbitrary-direction tracing.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 2 illustrates in block form an embodiment of the present invention. Reference numeral 1 indicates a tracer head, 2 a stylus, 3 a composite displacement signal generator, 4 an adder, 5 and 6 velocity calculation circuits for obtaining normal-direction velocity V_(N) and tangential-direction velocity V_(T), 7 a distribution circuit, 8 and 9 coordinate converters, 10 an indexing circuit, 11 to 13 X-, Y- and Z-axis amplifiers, 14 to 16 X-, Y- and Z-axis motors, 17 a microprocessor, 18 an output port, 19 a memory, 20 a keyboard, and 21 a correction angle setting dial for setting a correction angle with respect to the tracer feed direction. In an area #N of the memory 19 is stored the angle between the tracer feed axis and the X-axis, i.e. the angle α indicating the direction of the tracer feed axis.

Upon starting of a tracing operation, the tracer head 1 outputs displacement signals ε_(x), ε_(y), and ε_(z) corresponding to displacements of the stylus 2 in the X-, Y- and Z-axis directions. The displacement signals ε_(x) and ε_(y) are provided to the composite displacement signal generator 3 and the coordinate converter 9 and the displacement signal ε_(z) is applied to the composite displacement signal generator 3 and the indexing circuit 10. The composite displacement signal generator 3 derives from the displacement signals ε_(x), ε_(y), and ε_(z) a composite displacement signal ε=√ε_(x) ² +ε_(y) ² +ε_(z) ², which is provided to the adder 4. The adder 4 obtains a difference Δε=ε-ε₀ between the composite displacement signal ε and a reference displacement signal ε₀ which is applied to the adder from the microprocessor 17 via the output port 18. The thus obtained difference is supplied to the velocity calculation circuits 5 and 6. The velocity calculation circuits 5 and 6 obtain the normal-direction velocity V_(N) and the tangential-direction velocity V_(T) on the basis of the difference Δε, and provide the velocities to the distribution circuit 7.

The coordinate converter 9 creates a displacement component signal εα indicating a displacement component in the tracer feed axis direction, by performing an operation according to the following equation (1) on the basis of the displacement signals ε_(x) and ε_(y) and signals sin α and cos α which are indicative of the cosine and sine of the angle between the tracer feed axis and the X-axis and are provided via the output port 18 to the coordinate converter. The displacement component signal thus produced is applied to the indexing circuit 10. The signals sin α and cos α are produced by the microprocessor 17 based on the angle α stored in the area #N of the memory 19.

    εα=ε.sub.x ·cos α+ε.sub.y ·sin α                                     (1)

The indexing circuit 10 yields a cosine signal cos β and a sine signal sin β of the direction of displacement in a plane containing the A-axis and the Z-axis which are based on the displacement component signal εα from the coordinate converter 9 and the displacement signal ε_(z), the cosine and sine signals being applied to the distribution circuit 7. The distribution circuit 7 derives a velocity signal Va in the direction of the tracer feed axis and a velocity signal Vz in the Z-axis direction from the cosine signal cos β, the sine signal sin β and the normal-direction velocity V_(N) and the tangential-direction velocity V_(T) provided from the velocity calculation circuits 5 and 6. The velocity signal Vz in the Z-axis direction is applied to the amplifier 13, the output of which is provided to the motor 16 to drive it. The velocity signal Va in the direction of the tracer feed axis is provided to the coordinate converter 8, wherein operations according to the following equations (2) and (3) are performed, obtaining velocity signals Vx and Vy in the X-axis and Y-axis directions.

    Vx=Va·cos α                                 (2)

    Vy=Va·sin α                                 (3)

The velocity signals Vx and Vy in the X-axis and Y-axis directions are respectively applied to the amplifiers 11 and 12, the outputs of which are provided to the motors 14 and 15 to drive them, effecting a tracer feed in the A-axis direction.

When changing the tracer feed direction during the tracer feed in the A-axis direction as described above, an operator sets a correction angle Δα on the correction angle setting dial 21, and at the same time enters from the keyboard 20 a command for changing the tracer feed axis. The microprocessor 17 responds to the command and starts processing according to the flowchart shown in FIG. 3.

Upon starting processing in accordance with the flowchart depicted in FIG. 3, the microprocessor 17 first reads the correction angle Δα set on the correction angle setting dial 21 (step S1), reads the angle α between the X-axis and the A-axis stored in the predetermined area #N of the memory 19 (step S2), adds together the angles Δα and α (step S3), and supplies the coordinate converters 8 and 9 with signals sin (α+Δα) and cos (α+Δα) created on the basis the added result Δα+α (step S4). As a result, the processes of steps S1 to S4 take place during cutting at a point B, by which the tracer feed axis is changed from the A-axis to an A'-axis, as illustrated in FIG. 4.

As described above, the present invention is provided with a correction angle setting means comprised of the correction angle setting dial 21 for setting a correction angle with respect to the tracer feed axis and an adder means for adding together the correction angle and the angle representing the direction of the tracer feed axis, stored in a memory means. Since the tracer feed direction can be changed by setting the correction angle with the correction angle setting means, the invention has the advantage that the tracer feed direction can easily be changed even during tracing. 

We claim:
 1. An arbitrary-direction tracer control unit, comprising:a tracer head for outputting a displacement signal corresponding to the displacement of a stylus in contact with a surface of a mode; a memory for storing an angle between an X-axis and a tracer feed axis; correction angle setting means for setting a fixed value correction angle with respect to the tracer feed axis; adder means for adding together the angle stored in said memory and the correction angle set by said correction angle setting means and producing an output; and tracing operation means for operating, on the basis of the added output of said adder means and the displacement signal from said tracer head, at a feed rate in each axis direction at which the model and the stylus are moved relative to each other in a direction corresponding to the added result output by said adder means. 